<?php
# Verify this file is being called internally by Devfly
if ( !defined ( 'DF__SAFE' ) ) die ( 'This file may not be called alone.' );

/*-------------------------------------------------------------
	This configuration file defines folder paths for the Devfly 
	core, as well	as the application. You may change the constant
	values, but not the name of the constant.
---------------------------------------------------------------*/

/*-------------------------------------------------------------
	System (GOOD IDEA TO LEAVE THESE ALONE!)
---------------------------------------------------------------*/

# The directory seperator for current os. There should never
# be a need to change this.
define ( 'DIRSEP', DIRECTORY_SEPARATOR );

# The root directory of the site. This is assuming that this 
# file stays where it's at ( 2 levels below the root )
define ( 'DIR_ROOT', realpath ( '.' ) . DIRSEP );

/*-------------------------------------------------------------
	Devfly (GOOD IDEA TO LEAVE THESE ALONE, TOO!)
---------------------------------------------------------------*/

# Devfly root
define ( 'DIR_DF_ROOT', DIR_ROOT . '_devfly' . DIRSEP );

# Devfly core library
define ( 'DIR_DF_CORE', DIR_DF_ROOT . 'core' . DIRSEP );

# Devfly documentation
define ( 'DIR_DF_DOC', DIR_DF_ROOT . 'doc' . DIRSEP );

# Devfly etc files 
define ( 'DIR_DF_ETC', DIR_DF_ROOT . 'etc' . DIRSEP );

# Devfly config files
define ( 'DIR_DF_CONFIG', DIR_DF_ROOT . 'etc/config' . DIRSEP );

# Devfly native libraries
define ( 'DIR_DF_LIB', DIR_DF_ROOT . 'lib' . DIRSEP );


/*-------------------------------------------------------------
	Application
---------------------------------------------------------------*/

# Website root URL
define ( 'URL_WEBSITE_ROOT', 'http://devfly.christracey.net' );

# Website main login page
define ( 'URL_WEBSITE_LOGIN', URL_WEBSITE_ROOT . '/login' );

# Application root
define ( 'DIR_APP_ROOT', DIR_ROOT . 'app' . DIRSEP );

# Application controllers
define ( 'DIR_APP_CONTROLLERS', DIR_APP_ROOT . '_controllers' . DIRSEP );

# Application models
define ( 'DIR_APP_MODELS', DIR_APP_ROOT . '_models' . DIRSEP );

# Application views
define ( 'DIR_APP_VIEWS', DIR_APP_ROOT . '_views' . DIRSEP );

# Application php libraries
define ( 'DIR_APP_LIB', DIR_APP_ROOT . 'lib' . DIRSEP );

# Main images dir
define ( 'URL_APP_IMG', URL_WEBSITE_ROOT . DIRSEP . 'app' . DIRSEP . 'img' . DIRSEP );

# Main script dir
define ( 'URL_APP_SCRIPT', URL_WEBSITE_ROOT . DIRSEP . 'app' . DIRSEP . 'jvs' . DIRSEP );

# Main css dir
define ( 'URL_APP_CSS', URL_WEBSITE_ROOT . DIRSEP . 'app' . DIRSEP . 'css' . DIRSEP );

#--- need to put this stuff in a config file
define ( 'WEBSITE_TITLE', "DevFly :: Kills Bugs Dead." );
?>